package com.my.hzb.user.service;

import java.util.Date;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.my.hzb.entiy.MenuRole;
import com.my.hzb.mapper.MenuRoleMapper;

public class MenuRoleServiceImpl implements MenuRoleService{

	@Autowired
	private MenuRoleMapper menuRoleMapper;
	@Override
	public void add(MenuRole menuRole) {
		menuRole.setCreateTime(new Date());
		menuRole.setUpdateTime(new Date());
		menuRoleMapper.insert(menuRole);
	}

	@Override
	public void update(MenuRole menuRole) {
		
	}

	@Override
	public void delete(MenuRole menuRole) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public MenuRole getOne(Integer id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<MenuRole> find(MenuRole menuRole) {
		// TODO Auto-generated method stub
		return null;
	}

}
